package com.ruoyi.member.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.member.api.domain.BmInorderlist;
import com.ruoyi.member.api.factory.RemoteMemberFallbackFactory;
import com.ruoyi.member.api.factory.RemoteSellerMyOrderFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(contextId = "remoteSellerMyOrderService", value = "ruoyi-member", fallbackFactory = RemoteSellerMyOrderFallbackFactory.class)
public interface RemoteSellerMyOrderService {

    @PostMapping(value = "/seller/myOrder/dispatch")
    public boolean one(@RequestBody BmInorderlist bmInorderlist);

}
